package com.qdc.datacenters.domain.query.rule;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author danmo
 * @date 2024-03-18 10:17
 **/
@Schema
@Data
public class ChatMsgRuleAddQuery {

    @Schema(description = "ID", hidden = true)
    private Long id;

    /**
     * 规则名称
     */
    @Schema(description = "规则名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;


    /**
     * 超时时间
     */
    @Schema(description = "超时时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer timeOut;


    /**
     * 会话类型 1-全部 2-客户会话 3-客群会话
     */
    @Schema(description = "会话类型 1-全部 2-客户会话 3-客群会话", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer chatType;


    @Schema(description = "排期范围", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ChatMsgRuleRangeQuery> rangeList;
}
